package com.tang.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel(value = "订单对象", description = "订单对象")
public class Order implements Serializable {

    @ApiModelProperty(value = "主键（添加时不用带，修改和删除时必带）", dataType = "String", name = "id", example = "", required = false)
    private String id;

    @ApiModelProperty(value = "订单价格", dataType = "Double", name = "price", example = "", required = false)
    private Double price;

    @ApiModelProperty(value = "订单备注", dataType = "String", name = "remark", example = "", required = false)
    private String remark;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
